<?php
	$conn = oci_connect("hospital", "hospital", "//localhost/XE"); 
        
	$ss = "UPDATE TAKE_CAREOF SET NURSE_ID = '$_POST[nur_id]', PATIENT_ID = '$_POST[pat_id]',DAYS= '$_POST[days]'
            WHERE NURSE_ID = '$_GET[col]' ";
		
	$update= oci_parse($conn,$ss);
	oci_execute($update);
 ?>
 
<html>
<head><meta http-equiv="refresh" content="1; URL=main.php"></head>
<BODY bgcolor = "#ffffff">
 <font color="#ffffff" size="20">Redirecting ...</font>
 </body>
 </html>

 
 